package com.wyh.mapper.gfivemapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyh.domain.po.gfive.ManageProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * 管理项目表
 */
@Mapper
public interface ManageProjectMapper extends BaseMapper<ManageProject> {
    int saveRoles(List<ManageProject> manageProjectList);

    @Update("update manageproject set state = 0 where account = #{account}")
    int stopUse(String account);
}
